<?php
/**
 * Receipt.php
 *
 * @copyright   2023 thingsworld.com.cn - All Rights Reserved
 * @link        http://thingsworld.com.cn/
 * @author      stiffer.chen <chenl@thingsworld.com.cn>
 * @created     2023-02-21 11:07:35
 * @modified    2023-02-21 11:07:35
 *
 */

namespace App\Models\Event;

use App\Models\BaseModel;

class Receipt extends BaseModel
{
    protected $table = 'event_receipt';

    protected $fillable = [
        'event_id',
        'description'
    ];

    public function images()
    {
        return $this->hasMany(\App\Models\Event\Receipt\Image::class, 'event_receipt_id', 'id');
    }
}